dataloaderApp.config(['$routeProvider',
  function($routeProvider) {
    $routeProvider.
      when('/management/proxy', {
        templateUrl: 'partials/proxy/add.html',
        controller: 'ProxyCtrl'
      }).
  
      when('/management/schedule/', {
          templateUrl: 'partials/job/list.html',
          controller: 'ScheduleManagementCtrl'
      }).      
      when('/management/schedule/add', {
          templateUrl: 'partials/job/add.html',
          controller: 'AddSchedulerCtrl'
      }).  
      when('/management/schedule/restart', {
          templateUrl: 'partials/job/restart.html',
          controller: 'ScheduleManagementCtrl'
      }).  
      when('/management/salesforce/profile', {
    	  templateUrl: 'partials/salesforce-profile/manage.html',
    	  controller: 'SalesForceProfileCtrl'
      }).  
      when('/management/salesforce/connection', {
    	  templateUrl: 'partials/salesforce-profile/connection.html',
    	  controller: 'SalesForceProfileCtrl'
      }). 
      when('/timesheet/:mode', {
        templateUrl: 'partials/timesheet.html',
        controller: 'AppointmentCtrl'
      }).      
      otherwise({
        redirectTo: '/'
      });
  }]);
